package com.ems.service.impl;

import com.ems.entity.TProduct;
import com.ems.mapper.TMachineMapper;
import com.ems.mapper.TProductMapper;
import com.ems.service.ITProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author CSC
 * @since 2022-06-28
 */
@Service
public class TProductServiceImpl extends ServiceImpl<TProductMapper, TProduct> implements ITProductService {
    @Autowired
    TProductMapper tProductMapper;
    @Override
    public List<TProduct> getProductNum(){
    return tProductMapper.getProductNum();
}
}
